Skills Network Logo

Extracting and Visualizing Stock Data

Description

Extracting essential data from a dataset and displaying it is a necessary part of data science; therefore individuals can make correct decisions based on the data. In this assignment, you will extract some stock data, you will then display this data in a graph.

Table of Contents

  • Define a Function that Makes a Graph
  • Question 1: Use yfinance to Extract Stock Data
  • Question 2: Use Webscraping to Extract Tesla Revenue Data
  • Question 3: Use yfinance to Extract Stock Data
  • Question 4: Use Webscraping to Extract GME Revenue Data
  • Question 5: Plot Tesla Stock Graph
  • Question 6: Plot GameStop Stock Graph

Estimated Time Needed: 30 min


Note:- If you are working Locally using anaconda, please uncomment the following code and execute it.

In [ ]:
#!pip install yfinance==0.2.38
#!pip install pandas==2.2.2
#!pip install nbformat
In [47]:
!pip install yfinance
!pip install bs4
!pip install nbformat
Requirement already satisfied: yfinance in /opt/conda/lib/python3.11/site-packages (0.2.42)
Requirement already satisfied: pandas>=1.3.0 in /opt/conda/lib/python3.11/site-packages (from yfinance) (2.2.2)
Requirement already satisfied: numpy>=1.16.5 in /opt/conda/lib/python3.11/site-packages (from yfinance) (2.1.0)
Requirement already satisfied: requests>=2.31 in /opt/conda/lib/python3.11/site-packages (from yfinance) (2.31.0)
Requirement already satisfied: multitasking>=0.0.7 in /opt/conda/lib/python3.11/site-packages (from yfinance) (0.0.11)
Requirement already satisfied: lxml>=4.9.1 in /opt/conda/lib/python3.11/site-packages (from yfinance) (5.3.0)
Requirement already satisfied: platformdirs>=2.0.0 in /opt/conda/lib/python3.11/site-packages (from yfinance) (4.2.1)
Requirement already satisfied: pytz>=2022.5 in /opt/conda/lib/python3.11/site-packages (from yfinance) (2024.1)
Requirement already satisfied: frozendict>=2.3.4 in /opt/conda/lib/python3.11/site-packages (from yfinance) (2.4.4)
Requirement already satisfied: peewee>=3.16.2 in /opt/conda/lib/python3.11/site-packages (from yfinance) (3.17.6)
Requirement already satisfied: beautifulsoup4>=4.11.1 in /opt/conda/lib/python3.11/site-packages (from yfinance) (4.12.3)
Requirement already satisfied: html5lib>=1.1 in /opt/conda/lib/python3.11/site-packages (from yfinance) (1.1)
Requirement already satisfied: soupsieve>1.2 in /opt/conda/lib/python3.11/site-packages (from beautifulsoup4>=4.11.1->yfinance) (2.5)
Requirement already satisfied: six>=1.9 in /opt/conda/lib/python3.11/site-packages (from html5lib>=1.1->yfinance) (1.16.0)
Requirement already satisfied: webencodings in /opt/conda/lib/python3.11/site-packages (from html5lib>=1.1->yfinance) (0.5.1)
Requirement already satisfied: python-dateutil>=2.8.2 in /opt/conda/lib/python3.11/site-packages (from pandas>=1.3.0->yfinance) (2.9.0)
Requirement already satisfied: tzdata>=2022.7 in /opt/conda/lib/python3.11/site-packages (from pandas>=1.3.0->yfinance) (2024.1)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.11/site-packages (from requests>=2.31->yfinance) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.11/site-packages (from requests>=2.31->yfinance) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/conda/lib/python3.11/site-packages (from requests>=2.31->yfinance) (2.2.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.11/site-packages (from requests>=2.31->yfinance) (2024.6.2)
Requirement already satisfied: bs4 in /opt/conda/lib/python3.11/site-packages (0.0.2)
Requirement already satisfied: beautifulsoup4 in /opt/conda/lib/python3.11/site-packages (from bs4) (4.12.3)
Requirement already satisfied: soupsieve>1.2 in /opt/conda/lib/python3.11/site-packages (from beautifulsoup4->bs4) (2.5)
Requirement already satisfied: nbformat in /opt/conda/lib/python3.11/site-packages (5.10.4)
Requirement already satisfied: fastjsonschema>=2.15 in /opt/conda/lib/python3.11/site-packages (from nbformat) (2.19.1)
Requirement already satisfied: jsonschema>=2.6 in /opt/conda/lib/python3.11/site-packages (from nbformat) (4.22.0)
Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in /opt/conda/lib/python3.11/site-packages (from nbformat) (5.7.2)
Requirement already satisfied: traitlets>=5.1 in /opt/conda/lib/python3.11/site-packages (from nbformat) (5.14.3)
Requirement already satisfied: attrs>=22.2.0 in /opt/conda/lib/python3.11/site-packages (from jsonschema>=2.6->nbformat) (23.2.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /opt/conda/lib/python3.11/site-packages (from jsonschema>=2.6->nbformat) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in /opt/conda/lib/python3.11/site-packages (from jsonschema>=2.6->nbformat) (0.35.1)
Requirement already satisfied: rpds-py>=0.7.1 in /opt/conda/lib/python3.11/site-packages (from jsonschema>=2.6->nbformat) (0.18.0)
Requirement already satisfied: platformdirs>=2.5 in /opt/conda/lib/python3.11/site-packages (from jupyter-core!=5.0.*,>=4.12->nbformat) (4.2.1)
In [48]:
import yfinance as yf
import pandas as pd
import requests
from bs4 import BeautifulSoup
import plotly.graph_objects as go
from plotly.subplots import make_subplots

In Python, you can ignore warnings using the warnings module. You can use the filterwarnings function to filter or ignore specific warning messages or categories.

In [49]:
import warnings
# Ignore all warnings
warnings.filterwarnings("ignore", category=FutureWarning)

Define Graphing Function¶

In this section, we define the function make_graph. You don't have to know how the function works, you should only care about the inputs. It takes a dataframe with stock data (dataframe must contain Date and Close columns), a dataframe with revenue data (dataframe must contain Date and Revenue columns), and the name of the stock.

In [50]:
def make_graph(stock_data, revenue_data, stock):
    fig = make_subplots(rows=2, cols=1, shared_xaxes=True, subplot_titles=("Historical Share Price", "Historical Revenue"), vertical_spacing = .3)
    stock_data_specific = stock_data[stock_data.Date <= '2021--06-14']
    revenue_data_specific = revenue_data[revenue_data.Date <= '2021-04-30']
    fig.add_trace(go.Scatter(x=pd.to_datetime(stock_data_specific.Date), y=stock_data_specific.Close.astype("float"), name="Share Price"), row=1, col=1)
    fig.add_trace(go.Scatter(x=pd.to_datetime(revenue_data_specific.Date), y=revenue_data_specific.Revenue.astype("float"), name="Revenue"), row=2, col=1)
    fig.update_xaxes(title_text="Date", row=1, col=1)
    fig.update_xaxes(title_text="Date", row=2, col=1)
    fig.update_yaxes(title_text="Price ($US)", row=1, col=1)
    fig.update_yaxes(title_text="Revenue ($US Millions)", row=2, col=1)
    fig.update_layout(showlegend=False,
    height=900,
    title=stock,
    xaxis_rangeslider_visible=True)
    fig.show()

Use the make_graph function that we’ve already defined. You’ll need to invoke it in questions 5 and 6 to display the graphs and create the dashboard.

Note: You don’t need to redefine the function for plotting graphs anywhere else in this notebook; just use the existing function.

Question 1: Use yfinance to Extract Stock Data¶

Using the Ticker function enter the ticker symbol of the stock we want to extract data on to create a ticker object. The stock is Tesla and its ticker symbol is TSLA.

In [51]:
import yfinance as yf

tesla_ticker = yf.Ticker('TSLA')

Using the ticker object and the function history extract stock information and save it in a dataframe named tesla_data. Set the period parameter to "max" so we get information for the maximum amount of time.

In [52]:
tesla_data = tesla_ticker.history(period="max")

Reset the index using the reset_index(inplace=True) function on the tesla_data DataFrame and display the first five rows of the tesla_data dataframe using the head function. Take a screenshot of the results and code from the beginning of Question 1 to the results below.

In [53]:
tesla_data.reset_index(inplace=True)
tesla_data.head()
Out[53]:
Date Open High Low Close Volume Dividends Stock Splits
0 2010-06-29 00:00:00-04:00 1.266667 1.666667 1.169333 1.592667 281494500 0.0 0.0
1 2010-06-30 00:00:00-04:00 1.719333 2.028000 1.553333 1.588667 257806500 0.0 0.0
2 2010-07-01 00:00:00-04:00 1.666667 1.728000 1.351333 1.464000 123282000 0.0 0.0
3 2010-07-02 00:00:00-04:00 1.533333 1.540000 1.247333 1.280000 77097000 0.0 0.0
4 2010-07-06 00:00:00-04:00 1.333333 1.333333 1.055333 1.074000 103003500 0.0 0.0

Question 2: Use Webscraping to Extract Tesla Revenue Data¶

Use the requests library to download the webpage https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-PY0220EN-SkillsNetwork/labs/project/revenue.htm Save the text of the response as a variable named html_data.

In [54]:
url = "https://www.macrotrends.net/stocks/charts/TSLA/tesla/revenue"
html_data  = requests.get(url).text
In [55]:
soup = BeautifulSoup(html_data,"html5lib")
In [56]:
tesla_revenue = pd.DataFrame(columns=['Date', 'Revenue'])

for table in soup.find_all('table'):

    if ('Tesla Quarterly Revenue' in table.find('th').text):
        rows = table.find_all('tr')
        
        for row in rows:
            col = row.find_all('td')
            
            if col != []:
                date = col[0].text
                revenue = col[1].text.replace(',','').replace('$','')

                tesla_revenue = tesla_revenue.append({"Date":date, "Revenue":revenue}, ignore_index=True)

Execute the following line to remove the comma and dollar sign from the Revenue column.

In [57]:
tesla_revenue["Revenue"] = tesla_revenue['Revenue'].str.replace(',|\$',"", regex=True)

Execute the following lines to remove an null or empty strings in the Revenue column.

In [58]:
tesla_revenue.dropna(inplace=True)

tesla_revenue = tesla_revenue[tesla_revenue['Revenue'] != ""]

Display the last 5 row of the tesla_revenue dataframe using the tail function. Take a screenshot of the results.

In [59]:
tesla_revenue.tail()
Out[59]:
Date Revenue

Question 3: Use yfinance to Extract Stock Data¶

Using the Ticker function enter the ticker symbol of the stock we want to extract data on to create a ticker object. The stock is GameStop and its ticker symbol is GME.

In [60]:
GameStop = yf.Ticker("GME")

Using the ticker object and the function history extract stock information and save it in a dataframe named gme_data. Set the period parameter to "max" so we get information for the maximum amount of time.

In [61]:
gme_data = GameStop.history(period="max")

Reset the index using the reset_index(inplace=True) function on the gme_data DataFrame and display the first five rows of the gme_data dataframe using the head function. Take a screenshot of the results and code from the beginning of Question 3 to the results below.

In [62]:
gme_data.reset_index(inplace=True)
gme_data.head()
Out[62]:
Date Open High Low Close Volume Dividends Stock Splits
0 2002-02-13 00:00:00-05:00 1.620128 1.693350 1.603296 1.691667 76216000 0.0 0.0
1 2002-02-14 00:00:00-05:00 1.712707 1.716074 1.670626 1.683250 11021600 0.0 0.0
2 2002-02-15 00:00:00-05:00 1.683250 1.687458 1.658001 1.674834 8389600 0.0 0.0
3 2002-02-19 00:00:00-05:00 1.666418 1.666418 1.578047 1.607504 7410400 0.0 0.0
4 2002-02-20 00:00:00-05:00 1.615920 1.662209 1.603295 1.662209 6892800 0.0 0.0

Question 4: Use Webscraping to Extract GME Revenue Data¶

Use the requests library to download the webpage https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-PY0220EN-SkillsNetwork/labs/project/stock.html. Save the text of the response as a variable named html_data_2.

In [63]:
url = "https://cf-courses-data.s3.us.cloud-object-storage.appdomain.cloud/IBMDeveloperSkillsNetwork-PY0220EN-SkillsNetwork/labs/project/stock.html"

html_data  = requests.get(url).text

Parse the html data using beautiful_soup using parser i.e html5lib or html.parser.

In [68]:
soup = BeautifulSoup(html_data, "html5lib")
print(soup.prettify())
<!DOCTYPE html>
<!-- saved from url=(0105)https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue -->
<html class="js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers no-applicationcache svg inlinesvg smil svgclippaths" style="">
 <!--<![endif]-->
 <head>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/analytics.js.download" type="text/javascript">
  </script>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/gpt.js.download" type="text/javascript">
  </script>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/analytics.js(1).download">
  </script>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/analytics.js(1).download">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/analytics.js(2).download" type="text/javascript">
  </script>
  <script type="text/javascript">
   window.addEventListener('DOMContentLoaded',function(){var v=archive_analytics.values;v.service='wb';v.server_name='wwwb-app201.us.archive.org';v.server_ms=286;archive_analytics.send_pageview({});});
  </script>
  <script charset="utf-8" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/bundle-playback.js.download" type="text/javascript">
  </script>
  <script charset="utf-8" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/wombat.js.download" type="text/javascript">
  </script>
  <script type="text/javascript">
   __wm.init("https://web.archive.org/web");
  __wm.wombat("https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue","20200814131437","https://web.archive.org/","web","/_static/",
	      "1597410877");
  </script>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/banner-styles.css" rel="stylesheet" type="text/css"/>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/iconochive.css" rel="stylesheet" type="text/css"/>
  <!-- End Wayback Rewrite JS Include -->
  <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
  <link href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue" rel="canonical"/>
  <title>
   GameStop Revenue 2006-2020 | GME | MacroTrends
  </title>
  <meta content="GameStop revenue from 2006 to 2020. Revenue can be defined as the amount of money a company receives from its customers in exchange for the sales of goods or services.  Revenue is the top line item on an income statement from which all costs and expenses are subtracted to arrive at net income." name="description"/>
  <meta content="" name="robots"/>
  <link href="https://web.archive.org/web/20200814131437im_/https://www.macrotrends.net/assets/images/icons/FAVICON/macro-trends_favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <meta content="1228954C688F5907894001CD8E5E624B" name="msvalidate.01"/>
  <meta content="6MnD_3iDtAP1ZyoGK1YMyVIVck4r5Ws80I9xD3ue4_A" name="google-site-verification"/>
  <!-- Load in Roboto Font -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/css" rel="stylesheet"/>
  <!-- Bootstrap -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/bootstrap.min.css" rel="stylesheet"/>
  <!--for Bootstrap CDN version-->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/bootstrap-theme.min.css" rel="stylesheet"/>
  <!-- Font Awesome -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/font-awesome.min.css" rel="stylesheet"/>
  <!--for Font Awesome CDN version-->
  <!-- Jquery, Bootstrap and Menu Javascript -->
  <script crossorigin="anonymous" integrity="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jquery-1.12.4.min.js.download">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/bootstrap.min.js.download">
  </script>
  <!-- Modernizr for cross-browser support -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/modernizr-2.6.2-respond-1.1.0.min.js.download" type="text/javascript">
  </script>
  <!-- Latest compiled and minified CSS -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/fuelux.min.css" rel="stylesheet"/>
  <!-- Latest compiled and minified JavaScript -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/fuelux.min.js.download">
  </script>
  <!-- Twitter Card data -->
  <meta content="summary_large_image" name="twitter:card"/>
  <meta content="@tmacrotrends" name="twitter:site"/>
  <meta content="GameStop Revenue 2006-2020 | GME" name="twitter:title"/>
  <meta content="GameStop revenue from 2006 to 2020. Revenue can be defined as the amount of money a company receives from its customers in exchange for the sales of goods or services.  Revenue is the top line item on an income statement from which all costs and expenses are subtracted to arrive at net income." name="twitter:description"/>
  <!-- Open Graph data -->
  <meta content="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue" property="og:url"/>
  <meta content="GameStop Revenue 2006-2020 | GME" property="og:title"/>
  <meta content="GameStop revenue from 2006 to 2020. Revenue can be defined as the amount of money a company receives from its customers in exchange for the sales of goods or services.  Revenue is the top line item on an income statement from which all costs and expenses are subtracted to arrive at net income." property="og:description"/>
  <!-- JQXGRID STYLES AND JAVASCRIPT -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jqx.base.css" rel="stylesheet" type="text/css"/>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jqx.bootstrap.css" rel="stylesheet" type="text/css"/>
  <!-- LOAD THESE SCRIPTS EARLY SO THE TICKER INPUT FIELD IS STYLED INSTANTLY -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jqxcore.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jqxdata.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jqxinput.js.download" type="text/javascript">
  </script>
  <!-- Styling for search box -->
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jquery.typeahead_pages.css" rel="stylesheet" type="text/css"/>
  <!-- Search box javascript -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/jquery.typeahead.min.js.download">
  </script>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/select2.min.css" rel="stylesheet"/>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/select2.min.js.download">
  </script>
  <!-- ToolTips -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/tipped.js.download">
  </script>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/tipped.css" rel="stylesheet"/>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/uat.js.download">
  </script>
  <script type="text/javascript">
   InvestingChannelQueue = window.InvestingChannelQueue || [];
			var ic_page;
			InvestingChannelQueue.push(function() {ic_page = InvestingChannel.UAT.Run("df17ac1e-cc7f-11e8-82a5-0abbb61c4a6a");});
  </script>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/js">
  </script>
  <script>
   window.dataLayer = window.dataLayer || [];
		  function gtag(){dataLayer.push(arguments);}
		  gtag('js', new Date());

		  gtag('config', 'UA-62099500-1');
  </script>
  <!-- Amcharts Files -->
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/amcharts.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/serial.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/light.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/amstock.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/export.min.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/fabric.min.js.download" type="text/javascript">
  </script>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/FileSaver.js.download" type="text/javascript">
  </script>
  <link href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/export.css" media="all" rel="stylesheet" type="text/css"/>
  <!--<script>
			(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
			})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

			ga('create', 'UA-62099500-1', 'auto');
			ga('send', 'pageview');
			
			
			
		   
			//Send one event to GA at 30 seconds to control bounce rate
			setTimeout("ga('send','event','Engaged User','30 Second Engagement')",30000); 


		  //This code sends events to ga every 30 seconds when the window is in focus
			var count = 0;
			var myInterval;
					
			// Active
			window.addEventListener('load', startTimer);
			window.addEventListener('focus', startTimer);

			// Inactive
			window.addEventListener('blur', stopTimer);

			function timerHandler() {
				count++;
				
				if(count % 60 == 0 && count <= 1800) {
					
					var interval = (count/60);
					interval = interval.toFixed(0);
					
					var action = interval + " Minute Engagement";
					
					ga('send','event','Engaged User',action);

					
				}
			
			}

			// Start timer
			function startTimer() {
			myInterval = window.setInterval(timerHandler, 1000);
			}

			// Stop timer
			function stopTimer() {
			window.clearInterval(myInterval);
			}
			
			

		</script>-->
  <style>
   #style-1::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 3px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar
{
	width: 18px;
	background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar-thumb
{
	border-radius: 3px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #5B9BD5;
}

html {
	width:100%;
	position: relative;
	min-height: 100%;
}

body {
	
	width:100%;

	/* Margin bottom by footer height */
	  margin-bottom: 80px;
	  color: #444;
	  background-color:#fff;
	  font-family: 'Roboto', sans-serif;
	  font-size:14px;
}





.header_content_container {
	
	min-width: 1250px;
	padding: 0px;
}

.main_content_container {
	
	min-width: 1366px;
	max-width: 1366px;
	padding: 0px 30px 100px 30px;
	
}

.sub_main_content_container {
	
	
}

#left_sidebar {
	
  width: 180px;
  float:left;
  height:3080px;
	
}

#main_content {
	
	padding:0px 20px 0px 0px;
	width:826px;
    float:left;
	
}

#right_sidebar {
	
  width: 300px;
  float:left;
  height:3080px;
	
}

#sticky_ad_left {
	
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
	
	
}

#sticky_ad_right {
	
  position: -webkit-sticky;
  position: sticky;
  top: 30px;
	
	
}





.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 100px;
  margin-top: 10px;	
  padding: 30px 20px 20px 20px;
  color:#fff !important;
  background-color:#444;
  text-align: center;
  font-size:16px;
}

.footer a {
  color:#fff !important;
}

.ticker_search_box {
	
	background-color:#F5F5F5;
	border: 1px solid #E0E0E0;
	border-bottom:none;
	padding:10px 30px 10px 10px;
	margin:0px 0px 0px 0px;
	text-align:center;
	
}

.related_tickers {
	
	width:100%;
	background-color:#F5F5F5;
	border: 1px solid #E0E0E0;
	border-top: 0px;
	padding:3px 30px 3px 10px;
	margin:0px 0px 0px 0px;
	text-align:center;
	
}

.statement_type_select {

	width:100%;
	height:28px;
	
}

.frequency_select {

	width:100%;
	height:28px;
	font-weight:600;
	
}


.select2 {
	
	text-align:left;
	font-weight:600;
	
	}
	
#jqxInput {

		width:100%;
		height:28px;
		
}



.header__parent_container {

	width:100%;
	height:50px;
	padding:15px 0px 10px -20px; 
	margin:0px 0px 0px 0px;
	background-color:#444;

}

.header_container {

	width:100%;
	height:50px;
	padding:15px 0px 10px -20px; 
	margin:0px 0px 0px 0px;
	background-color:#444;

}

.header_logo {
	
	padding-top:10px;
	margin-left:50px;
	
}

.menu_parent_container {
	
	width:100%;
	height:34px;
	font-size:16px;
	padding:15px 0px 10px -20px; 
	margin:0px 0px 0px 0px;
	background-color:#0089de;
}

.menu_container {
	
	width:1280px;
	height:34px;
	font-size:16px;
	padding:11px 0px 0px -20px; 
	margin: 0 auto;
	background-color:#0089de;
	z-index:1000;
}

.menu_item {

	height:34px;
	float:left;
	font-size:14px;
	font-weight:bold;
	color:#fff;
	text-align:center;
	padding:7px 16px 0px 16px;	

}

.menu_item:hover
{
	background-color:#32a0e4;
	cursor: pointer;
}

.menu_item a
{
	color:#fff;
	cursor: pointer;
}

.menu_item a:hover
{
	text-decoration:none;
	cursor: pointer;
}

.leaderboard_ad {

	margin-top:20px;
	margin-bottom:20px;
	text-align:center;
	min-height:100px;

}

#filter_result_count {
	
	width:100%;
	text-align:center;
	font-size:24px;
	font-weight:bold;
	padding:10px 15px;
	background-color:#efefef;
	border: 1px solid #dfdfdf;
	margin:20px;
	
}


select {
  color: #444;
  background-color: #FFF;
  border: 1px solid #AAA;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height:40px;
  line-height: 40px;
}

.historical_data_table  {
    table-layout: fixed;
	margin:20px;
}

.historical_data_table tbody tr td {
	
	padding:6px;
	vertical-align: middle !important;

}


.descriptors {
	
	text-align:center;
	font-size:14px;
	padding:15px;
	
}

.td_metric_name {
	
	width:110px;
	padding-top:17px;
	
}

.metric_link {
	
	font-size:14px;
	font-weight:bold;

}

.help_icon {
	
	width:15px;
	height:18px; 
	padding-bottom:3px;
	
}

.td_min_value {
	
	width:75px;
	text-align:center;
	font-size:13px;
	
}

.td_max_value {
	
	width:75px;
	text-align:center;
	font-size:13px;
	
}

#myCombobox .form-control {
	
	background-color: #99d5ff;

	
}

.dropdown-toggle {
	
	height:24px;
	padding-top:0px;
	padding-left:7px;
	width:24px;
	
}

.dropdown-menu-right {
	
	min-width:75px;
	font-size:13px;
	
}

.form-control {
	
	font-size:12px;	
	padding:5px 10px;
	height:24px;

	
}

#myPills1 {
	
	margin:0px 15px 10px 0px;
	
}

#jqxgrid {
	
	border-radius:0px;
	
}

.jqx-widget-header {
	
    font-family: 'Roboto', sans-serif;
	font-size:13px;	
	
}

.jqx-item {
	
    font-family: 'Roboto', sans-serif;
	font-size: 13px;
	
}

.jqx-widget-content {
	
	border-color: #E0E0E0;
	
}

#jqxgrid .jqx-grid-cell {
	
	border-color: #E0E0E0;
	
}

#jqxgrid .jqx-grid-cell-pinned {
	
	border-color: #E0E0E0;
	background-color: #F5F5F5;
	
}

#jqxgrid .jqx-grid-column-header {
	
	border-color: #E0E0E0;
	background-color: #F5F5F5;
	
}

.clear_zero {

	height:0px;

}



/* Styles for Popup Charts */

.tpd-size-large {
	
	margin:0px;	
	padding: 0px;
}

.popup_window_wrapper {
	
	margin:15px;
	
}

.popup_stock_name {

	font-size:16px;
	font-weight:bold;
	margin:5px;

}

.popup_stock_attributes {

	font-size:13px;
	font-weight:bold;
	margin:5px;

}

.popup_stock_description {

	font-size:12px;
	margin:5px;

}

.jqx-input {
	
	font-size:14px;
	
} 

.jqx-menu-item {
	
	font-size:14px;
	
}

.jqx-input {
	
	padding:5px 10px;
	
}

.nav-tabs {
    border: 1px solid #E0E0E0;
	background-color:#F5F5F5;
	padding: 3px 5px 0px 5px;
	margin: 0px 0px 10px 0px;
}

.nav-tabs>li>a {
	font-size:13px;
	padding:7px 12px;
	font-weight:600;
    margin-right: 0px;
    line-height: 1.42857143;
    border: 0px;
    border-radius: 0px 0px 0 0;
	background-color:#F5F5F5;

}

.nav-tabs>li>a .active {
    margin-right: 0px;
    line-height: 1.42857143;
    border: 1px solid #E0E0E0;
    border-radius: 0px 0px 0 0;
	background-color:#F5F5F5;

}

.nav-tabs>li>a:hover { 
    background-color: #F5F5F5;
	text-decoration: underline;

}

.donate_buttons {

	margin-left:20px;
	
	}

.modal-body {

	margin:10px 40px 20px 40px;
	text-align:left;
	font-size:18px;

}

.modal-body li {

	margin-top:20px;
	font-size:14px;

}


.modal_title {


	text-align:center;
	margin-bottom:30px;

}

.modal-body th{

	margin-left:10px;
	font-size:14px;
}

.modal-body td {

	color: #337ab7;
	margin-left:10px;
	font-size:14px;
}

.modal_button {

	margin-top:50px;
	text-align:center;
	font-size:16px;

}
  </style>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/js(1)" type="text/javascript">
  </script>
  <style type="text/css">
   @-webkit-keyframes bounce{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}.om-animation-bounce{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:bounce;animation-name:bounce}@-webkit-keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.3);transform:scale(.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.3);transform:scale(.3)}50%{opacity:1;-webkit-transform:scale(1.05);transform:scale(1.05)}70%{-webkit-transform:scale(.9);transform:scale(.9)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.om-animation-bounce-in{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounceInDown{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}60%{opacity:1;-webkit-transform:translateY(30px);transform:translateY(30px)}80%{-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.om-animation-bounce-in-down{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounceInLeft{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}60%{opacity:1;-webkit-transform:translateX(30px);transform:translateX(30px)}80%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.om-animation-bounce-in-left{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);transform:translateX(10px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes bounceInRight{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}60%{opacity:1;-webkit-transform:translateX(-30px);transform:translateX(-30px)}80%{-webkit-transform:translateX(10px);transform:translateX(10px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.om-animation-bounce-in-right{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);transform:translateY(10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes bounceInUp{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}60%{opacity:1;-webkit-transform:translateY(-30px);transform:translateY(-30px)}80%{-webkit-transform:translateY(10px);transform:translateY(10px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.om-animation-bounce-in-up{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.om-animation-flash{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes flip{0%{-webkit-transform:perspective(800px) translateZ(0) rotateY(0) scale(1);transform:perspective(800px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(800px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(800px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(800px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(800px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(800px) translateZ(0) rotateY(1turn) scale(.95);transform:perspective(800px) translateZ(0) rotateY(1turn) scale(.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(800px) translateZ(0) rotateY(1turn) scale(1);transform:perspective(800px) translateZ(0) rotateY(1turn) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(800px) translateZ(0) rotateY(0) scale(1);transform:perspective(800px) translateZ(0) rotateY(0) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(800px) translateZ(150px) rotateY(170deg) scale(1);transform:perspective(800px) translateZ(150px) rotateY(170deg) scale(1);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(800px) translateZ(150px) rotateY(190deg) scale(1);transform:perspective(800px) translateZ(150px) rotateY(190deg) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(800px) translateZ(0) rotateY(1turn) scale(.95);transform:perspective(800px) translateZ(0) rotateY(1turn) scale(.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(800px) translateZ(0) rotateY(1turn) scale(1);transform:perspective(800px) translateZ(0) rotateY(1turn) scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.om-animation-flip{-webkit-animation-duration:1s;animation-duration:1s;-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(800px) rotateX(90deg);transform:perspective(800px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(800px) rotateX(-10deg);transform:perspective(800px) rotateX(-10deg)}70%{-webkit-transform:perspective(800px) rotateX(10deg);transform:perspective(800px) rotateX(10deg)}to{-webkit-transform:perspective(800px) rotateX(0deg);transform:perspective(800px) rotateX(0deg);opacity:1}}@keyframes flipInX{0%{-webkit-transform:perspective(800px) rotateX(90deg);transform:perspective(800px) rotateX(90deg);opacity:0}40%{-webkit-transform:perspective(800px) rotateX(-10deg);transform:perspective(800px) rotateX(-10deg)}70%{-webkit-transform:perspective(800px) rotateX(10deg);transform:perspective(800px) rotateX(10deg)}to{-webkit-transform:perspective(800px) rotateX(0deg);transform:perspective(800px) rotateX(0deg);opacity:1}}.om-animation-flip-down{-webkit-animation-duration:1s;animation-duration:1s;-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(800px) rotateY(90deg);transform:perspective(800px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(800px) rotateY(-10deg);transform:perspective(800px) rotateY(-10deg)}70%{-webkit-transform:perspective(800px) rotateY(10deg);transform:perspective(800px) rotateY(10deg)}to{-webkit-transform:perspective(800px) rotateY(0deg);transform:perspective(800px) rotateY(0deg);opacity:1}}@keyframes flipInY{0%{-webkit-transform:perspective(800px) rotateY(90deg);transform:perspective(800px) rotateY(90deg);opacity:0}40%{-webkit-transform:perspective(800px) rotateY(-10deg);transform:perspective(800px) rotateY(-10deg)}70%{-webkit-transform:perspective(800px) rotateY(10deg);transform:perspective(800px) rotateY(10deg)}to{-webkit-transform:perspective(800px) rotateY(0deg);transform:perspective(800px) rotateY(0deg);opacity:1}}.om-animation-flip-side{-webkit-animation-duration:1s;animation-duration:1s;-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0) skewX(-15deg);transform:translateX(0) skewX(-15deg);opacity:1}to{-webkit-transform:translateX(0) skewX(0deg);transform:translateX(0) skewX(0deg);opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translateX(100%) skewX(-30deg);transform:translateX(100%) skewX(-30deg);opacity:0}60%{-webkit-transform:translateX(-20%) skewX(30deg);transform:translateX(-20%) skewX(30deg);opacity:1}80%{-webkit-transform:translateX(0) skewX(-15deg);transform:translateX(0) skewX(-15deg);opacity:1}to{-webkit-transform:translateX(0) skewX(0deg);transform:translateX(0) skewX(0deg);opacity:1}}.om-animation-light-speed{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}to{-webkit-transform:scale(1);transform:scale(1)}}.om-animation-pulse{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translateX(0) rotate(0deg);transform:translateX(0) rotate(0deg)}}.om-animation-roll-in{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(-200deg);transform:rotate(-200deg);opacity:0}to{-webkit-transform-origin:center center;transform-origin:center center;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}.om-animation-rotate{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}.om-animation-rotate-down-left{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}.om-animation-rotate-down-right{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:0}to{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}.om-animation-rotate-up-left{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);opacity:0}to{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate(0);transform:rotate(0);opacity:1}}.om-animation-rotate-up-right{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(.75);transform:scaleX(1.25) scaleY(.75)}40%{-webkit-transform:scaleX(.75) scaleY(1.25);transform:scaleX(.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(.85);transform:scaleX(1.15) scaleY(.85)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes rubberBand{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(.75);transform:scaleX(1.25) scaleY(.75)}40%{-webkit-transform:scaleX(.75) scaleY(1.25);transform:scaleX(.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(.85);transform:scaleX(1.15) scaleY(.85)}to{-webkit-transform:scale(1);transform:scale(1)}}.om-animation-rubber-band{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}.om-animation-shake{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes slideInDown{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideInDown{0%{opacity:0;-webkit-transform:translateY(-2000px);transform:translateY(-2000px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.om-animation-slide-in-down{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft{0%{opacity:0;-webkit-transform:translateX(-2000px);transform:translateX(-2000px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.om-animation-slide-in-left{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight{0%{opacity:0;-webkit-transform:translateX(2000px);transform:translateX(2000px)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.om-animation-slide-in-right{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}.om-animation-swing{-webkit-animation-duration:1s;animation-duration:1s;-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-3deg);transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}to{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-3deg);transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}to{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}.om-animation-tada{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translateX(0);transform:translateX(0)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes wobble{0%{-webkit-transform:translateX(0);transform:translateX(0)}15%{-webkit-transform:translateX(-25%) rotate(-5deg);transform:translateX(-25%) rotate(-5deg)}30%{-webkit-transform:translateX(20%) rotate(3deg);transform:translateX(20%) rotate(3deg)}45%{-webkit-transform:translateX(-15%) rotate(-3deg);transform:translateX(-15%) rotate(-3deg)}60%{-webkit-transform:translateX(10%) rotate(2deg);transform:translateX(10%) rotate(2deg)}75%{-webkit-transform:translateX(-5%) rotate(-1deg);transform:translateX(-5%) rotate(-1deg)}to{-webkit-transform:translateX(0);transform:translateX(0)}}.om-animation-wobble{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-name:wobble;animation-name:wobble}.om-content-lock{color:transparent!important;text-shadow:rgba(0,0,0,.5) 0 0 10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;filter:url("data:image/svg+xml;utf9,<svg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'><filter%20id='blur'><feGaussianBlur%20stdDeviation='10'%20/></filter></svg>#blur");-webkit-filter:blur(10px);-ms-filter:blur(10px);-o-filter:blur(10px);filter:blur(10px)}html.om-mobile-position,html.om-mobile-position body{position:fixed!important}html.om-ios-form,html.om-ios-form body{-webkit-transform:translateZ(0)!important;transform:translateZ(0)!important;-webkit-overflow-scrolling:touch!important;height:100%!important;overflow:auto!important}html.om-position-popup body{overflow:hidden!important}html.om-position-floating-top{transition:padding-top .5s ease!important}html.om-position-floating-bottom{transition:padding-bottom .5s ease!important}html.om-reset-dimensions{height:100%!important;width:100%!important}.om-verification-confirmation{font-family:Lato,Arial,Helvetica,sans-serif;position:fixed;border-radius:10px;bottom:20px;left:20px;padding:10px 20px;opacity:0;transition:opacity .3s ease-in;background:#85bf31;color:#fff;font-size:18px;font-weight:700;z-index:9999}
  </style>
  <link as="script" href="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/f.txt" rel="preload"/>
  <script src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/f.txt" type="text/javascript">
  </script>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/pubads_impl_2020080501.js.download">
  </script>
 </head>
 <body class="fuelux" data-gr-ext-installed="" data-new-gr-c-s-check-loaded="14.1050.0">
  <!-- BEGIN WAYBACK TOOLBAR INSERT -->
  <style type="text/css">
   body {
  margin-top:0 !important;
  padding-top:0 !important;
  /*min-width:800px !important;*/
}
  </style>
  <script>
   __wm.rw(0);
  </script>
  <div id="wm-ipp-base" lang="en" style="display: block; direction: ltr;">
  </div>
  <div id="wm-ipp-print">
   The Wayback Machine - https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue
  </div>
  <script type="text/javascript">
   __wm.bt(675,27,25,2,"web","https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue","20200814131437",1996,"/_static/",["/_static/css/banner-styles.css?v=fantwOh2","/_static/css/iconochive.css?v=qtvMKcIJ"], false);
  __wm.rw(1);
  </script>
  <!-- END WAYBACK TOOLBAR INSERT -->
  <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
  <div class="header_content_container container-fluid">
   <div class="header_parent_container">
    <div class="header_container">
     <div class="header_logo col-xs-2">
      <a class="logo" href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/" title="MacroTrends Home Page">
       <img src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/logo_bright1.png"/>
      </a>
     </div>
     <div class="col-xs-1 pull-right" style="padding-top:8px; margin-right:10px; margin-left:0px; padding-left:0px;">
     </div>
     <div class="col-xs-5 pull-right" style="padding-top:8px;">
      <form>
       <div class="typeahead__container" style="z-index: 1041; position: relative;">
        <div class="typeahead__field">
         <span class="typeahead__query">
          <span class="typeahead__cancel-button">
           ×
          </span>
          <input autocomplete="off" autofocus="" class="js-typeahead" name="q" placeholder="Search over 200,000 charts..." type="search"/>
         </span>
         <span class="typeahead__button">
          <button type="submit">
           <span class="typeahead__search-icon">
           </span>
          </button>
         </span>
        </div>
        <div class="typeahead__result">
        </div>
       </div>
       <div class="typeahead__backdrop" style="opacity: 0.6; position: fixed; inset: 0px; z-index: 1040; background-color: rgb(255, 255, 255);">
       </div>
      </form>
     </div>
    </div>
   </div>
   <div class="menu_parent_container">
    <div class="menu_container">
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/stock-screener">
      <div class="menu_item">
       Stock Screener
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/research">
      <div class="menu_item">
       Stock Research
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/stock-indexes">
      <div class="menu_item">
       Market Indexes
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/precious-metals">
      <div class="menu_item">
       Precious Metals
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/energy">
      <div class="menu_item">
       Energy
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/commodities">
      <div class="menu_item">
       Commodities
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/exchange-rates">
      <div class="menu_item">
       Exchange Rates
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/interest-rates">
      <div class="menu_item">
       Interest Rates
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/futures">
      <div class="menu_item">
       Futures
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/charts/economy">
      <div class="menu_item">
       Economy
      </div>
     </a>
     <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/countries/topic-overview">
      <div class="menu_item">
       Global Metrics
      </div>
     </a>
    </div>
   </div>
  </div>
  <div class="main_content_container container-fluid" id="main_content_container">
   <div class="adx_top_ad col-xs-12" id="ic_leaderboard" style="margin: 20px 20px 30px 20px; min-height:265px; text-align:center;">
    <!--Smartad # 4058: Macrotrends - 970x250 Image - Placement 2-->
    <iframe height="250" id="dianomi_leaderboard" scrolling="NO" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/smartads.html" style="height: 250px; border: none; overflow: hidden;" width="970">
    </iframe>
   </div>
   <div style="margin:20px;">
    <h2 style="margin-left:180px; font-weight:600; color:#444;">
     GameStop Revenue 2006-2020 | GME
    </h2>
   </div>
   <div class="sub_main_content_container">
    <div id="left_sidebar">
     <div id="sticky_ad_left">
      <div id="ic_160_600">
      </div>
     </div>
    </div>
    <div id="main_content">
     <div class="navigation_tabs" style="margin-bottom:20px;">
      <ul class="nav nav-tabs" id="myTabs" style="font-size:15px;">
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/stock-price-history">
         Prices
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/financial-statements">
         Financials
        </a>
       </li>
       <li class="active">
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue">
         Revenue &amp; Profit
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/total-assets">
         Assets &amp; Liabilities
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/profit-margins">
         Margins
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/pe-ratio">
         Price Ratios
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/current-ratio">
         Other Ratios
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/dividend-yield-history">
         Other Metrics
        </a>
       </li>
      </ul>
      <ul class="nav nav-tabs" id="myTabs" style="font-size:15px;">
       <li class="active">
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue">
         Revenue
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/gross-profit">
         Gross Profit
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/operating-income">
         Operating Income
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/ebitda">
         EBITDA
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/net-income">
         Net Income
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/eps-earnings-per-share-diluted">
         EPS
        </a>
       </li>
       <li>
        <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GME/gamestop/shares-outstanding">
         Shares Outstanding
        </a>
       </li>
      </ul>
     </div>
     <div style="background-color:#fff; margin: 0px 0px 20px 0px; padding:20px 30px; border:1px solid #dfdfdf;">
      <span style="color:#444; line-height: 1.8;">
       GameStop revenue from 2006 to 2020. Revenue can be defined as the amount of money a company receives from its customers in exchange for the sales of goods or services.  Revenue is the top line item on an income statement from which all costs and expenses are subtracted to arrive at net income.
      </span>
     </div>
     <div style="background-color:#fff; margin: 30px 0px 30px 0px; text-align:center; min-height:90px;">
      <div id="ic_728_90" style="margin:10px 20px;">
      </div>
     </div>
     <div class="ticker_search_box" style="text-align:center;">
      <div style="width:400px; margin-left:20px; border-bottom:none;">
       <script type="text/javascript">
        $(document).ready(function () {
				                
					var url = "https://web.archive.org/web/20200814131437/https://www.macrotrends.net/assets/php/ticker_search_list.php";
				
                // prepare the data
                var source =
                {
                    datatype: "json",
                    datafields: [
                        { name: 'n' },
						{ name: 's'}
                    ],
                    url: url
                };
                var dataAdapter = new $.jqx.dataAdapter(source);
                // Create a jqxInput
                $("#jqxInput").jqxInput({ source: dataAdapter, minLength: 1, placeHolder: "Search for ticker or company name...", items: 20, searchMode: 'containsignorecase', displayMember: "n", valueMember: "s", width: '100%', height: 22, theme: 'bootstrap'});
                $("#jqxInput").on('select', function (event) {
                    if (event.args) {
                        var item = event.args.item;
						
						//Have to split the ticker and slug back out since jqxinput only seems to allow one data value
						var itemArray = item.value.split("\/"); 
						var ticker = itemArray[0];
						var slug = itemArray[1];
                        if (item) {
							
														
								window.location = "https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/" + ticker + "/" + slug + "/revenue";
							
							                        }
                    }
                });
            });
       </script>
       <input aria-autocomplete="both" aria-disabled="false" aria-multiline="false" aria-readonly="false" class="jqx-widget-content jqx-widget-content-bootstrap jqx-input jqx-input-bootstrap jqx-widget jqx-widget-bootstrap jqx-rc-all jqx-rc-all-bootstrap" id="jqxInput" placeholder="Search for ticker or company name..." role="textbox" style="width: 100%; height: 22px;"/>
      </div>
      <div style="width:280px; margin-top: -32px; margin-left:80px; border-bottom:none; float:right;">
       <button class="chart_buttons btn btn-success btn-sm" id="compareStocks" style="margin-right:15px;">
        <span class="glyphicon glyphicon-stats">
        </span>
        <strong>
         Compare GME With Other Stocks
        </strong>
       </button>
      </div>
     </div>
     <div style="height:690px; background-color:#fff; border:1px solid #dfdfdf;">
      <iframe frameborder="0" height="680" hspace="0" id="chart_iframe" margin="0px" marginheight="0" marginwidth="0" scrolling="NO" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/fundamental_iframe.html" title="Interactive chart: GameStop Revenue 2006-2020 | GME" valign="middle" vspace="0" width="800">
      </iframe>
     </div>
     <div style="background-color:#fff; margin: 30px 0px; padding:10px 30px; border:1px solid #dfdfdf;">
      <iframe frameborder="0" height="300" hspace="0" id="dianomi_below_chart" marginheight="0" marginwidth="0" scrolling="NO" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/smartads(1).html" valign="middle" vspace="0" width="100%">
      </iframe>
     </div>
     <div id="style-1" style="background-color:#fff; height:510px; overflow:auto; margin: 30px 0px 30px 0px; padding:0px 30px 20px 0px; border:1px solid #dfdfdf;">
      <div class="col-xs-6">
       <table class="historical_data_table table">
        <thead>
         <tr>
          <th colspan="2" style="text-align:center">
           GameStop Annual Revenue
           <br/>
           <span style="font-size:14px;">
            (Millions of US $)
           </span>
          </th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td style="text-align:center">
           2020
          </td>
          <td style="text-align:center">
           $6,466
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2019
          </td>
          <td style="text-align:center">
           $8,285
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2018
          </td>
          <td style="text-align:center">
           $8,547
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2017
          </td>
          <td style="text-align:center">
           $7,965
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2016
          </td>
          <td style="text-align:center">
           $9,364
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2015
          </td>
          <td style="text-align:center">
           $9,296
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2014
          </td>
          <td style="text-align:center">
           $9,040
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2013
          </td>
          <td style="text-align:center">
           $8,887
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2012
          </td>
          <td style="text-align:center">
           $9,551
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2011
          </td>
          <td style="text-align:center">
           $9,474
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2010
          </td>
          <td style="text-align:center">
           $9,078
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2009
          </td>
          <td style="text-align:center">
           $8,806
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2008
          </td>
          <td style="text-align:center">
           $7,094
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2007
          </td>
          <td style="text-align:center">
           $5,319
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2006
          </td>
          <td style="text-align:center">
           $3,092
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2005
          </td>
          <td style="text-align:center">
           $1,843
          </td>
         </tr>
        </tbody>
       </table>
      </div>
      <div class="col-xs-6">
       <table class="historical_data_table table">
        <thead>
         <tr>
          <th colspan="2" style="text-align:center">
           GameStop Quarterly Revenue
           <br/>
           <span style="font-size:14px;">
            (Millions of US $)
           </span>
          </th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td style="text-align:center">
           2020-04-30
          </td>
          <td style="text-align:center">
           $1,021
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2020-01-31
          </td>
          <td style="text-align:center">
           $2,194
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2019-10-31
          </td>
          <td style="text-align:center">
           $1,439
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2019-07-31
          </td>
          <td style="text-align:center">
           $1,286
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2019-04-30
          </td>
          <td style="text-align:center">
           $1,548
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2019-01-31
          </td>
          <td style="text-align:center">
           $3,063
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2018-10-31
          </td>
          <td style="text-align:center">
           $1,935
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2018-07-31
          </td>
          <td style="text-align:center">
           $1,501
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2018-04-30
          </td>
          <td style="text-align:center">
           $1,786
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2018-01-31
          </td>
          <td style="text-align:center">
           $2,825
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2017-10-31
          </td>
          <td style="text-align:center">
           $1,989
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2017-07-31
          </td>
          <td style="text-align:center">
           $1,688
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2017-04-30
          </td>
          <td style="text-align:center">
           $2,046
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2017-01-31
          </td>
          <td style="text-align:center">
           $2,403
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2016-10-31
          </td>
          <td style="text-align:center">
           $1,959
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2016-07-31
          </td>
          <td style="text-align:center">
           $1,632
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2016-04-30
          </td>
          <td style="text-align:center">
           $1,972
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2016-01-31
          </td>
          <td style="text-align:center">
           $3,525
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2015-10-31
          </td>
          <td style="text-align:center">
           $2,016
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2015-07-31
          </td>
          <td style="text-align:center">
           $1,762
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2015-04-30
          </td>
          <td style="text-align:center">
           $2,061
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2015-01-31
          </td>
          <td style="text-align:center">
           $3,476
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2014-10-31
          </td>
          <td style="text-align:center">
           $2,092
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2014-07-31
          </td>
          <td style="text-align:center">
           $1,731
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2014-04-30
          </td>
          <td style="text-align:center">
           $1,996
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2014-01-31
          </td>
          <td style="text-align:center">
           $3,684
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2013-10-31
          </td>
          <td style="text-align:center">
           $2,107
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2013-07-31
          </td>
          <td style="text-align:center">
           $1,384
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2013-04-30
          </td>
          <td style="text-align:center">
           $1,865
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2013-01-31
          </td>
          <td style="text-align:center">
           $3,562
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2012-10-31
          </td>
          <td style="text-align:center">
           $1,773
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2012-07-31
          </td>
          <td style="text-align:center">
           $1,550
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2012-04-30
          </td>
          <td style="text-align:center">
           $2,002
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2012-01-31
          </td>
          <td style="text-align:center">
           $3,579
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2011-10-31
          </td>
          <td style="text-align:center">
           $1,947
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2011-07-31
          </td>
          <td style="text-align:center">
           $1,744
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2011-04-30
          </td>
          <td style="text-align:center">
           $2,281
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2011-01-31
          </td>
          <td style="text-align:center">
           $3,693
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2010-10-31
          </td>
          <td style="text-align:center">
           $1,899
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2010-07-31
          </td>
          <td style="text-align:center">
           $1,799
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2010-04-30
          </td>
          <td style="text-align:center">
           $2,083
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2010-01-31
          </td>
          <td style="text-align:center">
           $3,524
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2009-10-31
          </td>
          <td style="text-align:center">
           $1,835
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2009-07-31
          </td>
          <td style="text-align:center">
           $1,739
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2009-04-30
          </td>
          <td style="text-align:center">
           $1,981
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2009-01-31
          </td>
          <td style="text-align:center">
           $3,492
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2008-10-31
          </td>
          <td style="text-align:center">
           $1,696
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2008-07-31
          </td>
          <td style="text-align:center">
           $1,804
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2008-04-30
          </td>
          <td style="text-align:center">
           $1,814
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2008-01-31
          </td>
          <td style="text-align:center">
           $2,866
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2007-10-31
          </td>
          <td style="text-align:center">
           $1,611
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2007-07-31
          </td>
          <td style="text-align:center">
           $1,338
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2007-04-30
          </td>
          <td style="text-align:center">
           $1,279
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2007-01-31
          </td>
          <td style="text-align:center">
           $2,304
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2006-10-31
          </td>
          <td style="text-align:center">
           $1,012
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2006-07-31
          </td>
          <td style="text-align:center">
           $963
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2006-04-30
          </td>
          <td style="text-align:center">
           $1,040
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2006-01-31
          </td>
          <td style="text-align:center">
           $1,667
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2005-10-31
          </td>
          <td style="text-align:center">
           $534
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2005-07-31
          </td>
          <td style="text-align:center">
           $416
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2005-04-30
          </td>
          <td style="text-align:center">
           $475
          </td>
         </tr>
         <tr>
          <td style="text-align:center">
           2005-01-31
          </td>
          <td style="text-align:center">
           $709
          </td>
         </tr>
        </tbody>
       </table>
      </div>
     </div>
     <div style="background-color:#fff; margin: 0px 0px 20px 0px; padding:5px 50px 5px 10px; border:1px solid #dfdfdf;">
      <table class="historical_data_table table">
       <thead>
        <tr>
         <th style="text-align:center">
          Sector
         </th>
         <th style="text-align:center">
          Industry
         </th>
         <th style="text-align:center">
          Market Cap
         </th>
         <th style="text-align:center">
          Revenue
         </th>
        </tr>
       </thead>
       <tbody>
        <tr>
         <td style="text-align:center">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/sector/3/retail-wholesale">
           Retail/Wholesale
          </a>
         </td>
         <td style="text-align:center">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/industry/156/">
           Retail - Consumer Electronics
          </a>
         </td>
         <td style="text-align:center">
          $0.293B
         </td>
         <td style="text-align:center">
          $6.466B
         </td>
        </tr>
        <tr>
         <td colspan="4" style="padding:15px;">
          <span>
           GameStop Corp. is the world's largest video game and entertainment software retailer. The company operates 4,816 retail stores across the United States and in fifteen countries worldwide. The company also operates two e-commerce sites, GameStop.com and EBgames.com, and publishes Game Informer? magazine, a leading multi-platform video game publication. GameStop Corp. sells new and used video game software, hardware and accessories for next generation video game systems from Sony, Nintendo, and Microsoft. In addition, the company sells PC entertainment software, related accessories and other merchandise.
          </span>
         </td>
        </tr>
       </tbody>
      </table>
     </div>
     <div style="background-color:#fff; margin: 20px 0px 30px 0px; padding:5px 50px 5px 10px; border:1px solid #dfdfdf;">
      <table class="historical_data_table table">
       <thead>
        <tr>
         <th style="text-align:center; width:40%;">
          Stock Name
         </th>
         <th style="text-align:center; width:20%;">
          Country
         </th>
         <th style="text-align:center; width:20%;">
          Market Cap
         </th>
         <th style="text-align:center; width:20%;">
          PE Ratio
         </th>
        </tr>
       </thead>
       <tbody>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/BBY/best-buy/revenue">
           Best Buy (BBY)
          </a>
         </td>
         <td style="text-align:center">
          United States
         </td>
         <td style="text-align:center">
          $27.033B
         </td>
         <td style="text-align:center">
          18.16
         </td>
        </tr>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/AAN/aarons,-/revenue">
           Aaron's,  (AAN)
          </a>
         </td>
         <td style="text-align:center">
          United States
         </td>
         <td style="text-align:center">
          $3.975B
         </td>
         <td style="text-align:center">
          15.14
         </td>
        </tr>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/GMELY/gome-retail-holdings/revenue">
           GOME Retail Holdings (GMELY)
          </a>
         </td>
         <td style="text-align:center">
          China
         </td>
         <td style="text-align:center">
          $1.684B
         </td>
         <td style="text-align:center">
          0.00
         </td>
        </tr>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/SYX/systemax/revenue">
           Systemax (SYX)
          </a>
         </td>
         <td style="text-align:center">
          United States
         </td>
         <td style="text-align:center">
          $0.873B
         </td>
         <td style="text-align:center">
          18.34
         </td>
        </tr>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/CONN/conns/revenue">
           Conn's (CONN)
          </a>
         </td>
         <td style="text-align:center">
          United States
         </td>
         <td style="text-align:center">
          $0.325B
         </td>
         <td style="text-align:center">
          0.00
         </td>
        </tr>
        <tr>
         <td style="text-align:left">
          <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/stocks/charts/TAIT/taitron-components/revenue">
           Taitron Components (TAIT)
          </a>
         </td>
         <td style="text-align:center">
          United States
         </td>
         <td style="text-align:center">
          $0.016B
         </td>
         <td style="text-align:center">
          10.50
         </td>
        </tr>
       </tbody>
      </table>
     </div>
    </div>
    <div "="" id="right_sidebar">
     <!--<a href="/stocks/stock-screener" style="text-decoration:none; color: #fff; ">
					<div style="margin:0px; padding: 20px; width:300px; background-color: #01579b; min-height:150px; text-align:center;">

						<h2 style="font-weight:600;">Try our new<br />stock screener!</h2></a>

					</div>
				</a>-->
     <!--<div style="margin-top:0px; min-height:250px;">

					<script src='//ads.investingchannel.com/adtags/Macrotrends/fundamentalanalysis/300x600.js?zhpos=300_2&multi_size=false' type='text/javascript' charset='utf-8'></script>

				</div>-->
     <div style="margin-top:0px; min-height:250px;">
      <div id="ic_300_250">
      </div>
     </div>
     <div id="sticky_ad_right">
      <div style="margin-top:30px; min-height:250px;">
       <div id="ic_300_600">
       </div>
      </div>
     </div>
    </div>
   </div>
  </div>
  <footer class="footer">
   <span>
    © 2010-2020 Macrotrends LLC
   </span>
   |
   <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/terms">
    Terms of Service
   </a>
   |
   <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/privacy">
    Privacy Policy
   </a>
   |
   <a href="https://web.archive.org/web/20200814131437/mailto:info@macrotrends.net">
    Contact Us
   </a>
   |
   <a href="https://web.archive.org/web/20200814131437/https://www.macrotrends.net/ccpa">
    Do Not Sell My Personal Information
   </a>
   <br/>
   <span>
    Fundamental data from
   </span>
   <a href="https://web.archive.org/web/20200814131437/https://www.zacksdata.com/" rel="nofollow" target="_blank">
    Zacks Investment Research, Inc.
   </a>
  </footer>
  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal" id="smallWidthModal1" role="dialog" tabindex="-1">
   <div class="modal-dialog modal-lg">
    <div class="modal-content">
     <div class="modal-body">
      <div class="modal_title">
       <h2>
        <strong>
         We Need Your Support!
        </strong>
       </h2>
      </div>
      <p>
       Backlinks from other websites are the lifeblood of our site and a primary source of new traffic.
      </p>
      <p>
      </p>
      <p>
       If you use our chart images on your site or blog, we ask that you provide attribution via a "dofollow" link back to this page.  We have provided a few examples below that you can copy and paste to your site:
      </p>
      <br/>
      <table class="table">
       <thead>
        <tr>
         <th>
          Link Preview
         </th>
         <th>
          HTML Code (Click to Copy)
         </th>
        </tr>
       </thead>
       <tbody>
        <tr>
         <td>
          <a>
           GameStop Revenue 2006-2020 | GME
          </a>
         </td>
         <td>
          <input class="modal_link" size="60" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;GameStop Revenue 2006-2020 | GME&lt;/a&gt;"/>
         </td>
        </tr>
        <tr>
         <td>
          <a>
           Macrotrends
          </a>
         </td>
         <td>
          <input class="modal_link" size="60" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;Macrotrends&lt;/a&gt;"/>
         </td>
        </tr>
        <tr>
         <td>
          <a>
           Source
          </a>
         </td>
         <td>
          <input class="modal_link" size="60" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;Source&lt;/a&gt;"/>
         </td>
        </tr>
       </tbody>
      </table>
      <br/>
      <p style="text-align:center">
       Your image export is now complete.  Please check your download folder.
      </p>
     </div>
     <div class="modal-footer">
      <button class="btn btn-primary" data-dismiss="modal" type="button">
       Close Window
      </button>
     </div>
    </div>
   </div>
  </div>
  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal" id="smallWidthModal2" role="dialog" tabindex="-1">
   <div class="modal-dialog modal-lg">
    <div class="modal-content">
     <div class="modal-body">
      <div class="modal_title">
       <h2>
        <strong>
         We Need Your Support!
        </strong>
       </h2>
      </div>
      <p>
       Backlinks from other websites are the lifeblood of our site and a primary source of new traffic.
      </p>
      <p>
      </p>
      <p>
       If you use our datasets on your site or blog, we ask that you provide attribution via a "dofollow" link back to this page.  We have provided a few examples below that you can copy and paste to your site:
      </p>
      <br/>
      <table class="table">
       <thead>
        <tr>
         <th>
          Link Preview
         </th>
         <th>
          HTML Code (Click to Copy)
         </th>
        </tr>
       </thead>
       <tbody>
        <tr>
         <td>
          <a>
           GameStop Revenue 2006-2020 | GME
          </a>
         </td>
         <td>
          <input class="modal_link" size="50" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;GameStop Revenue 2006-2020 | GME&lt;/a&gt;"/>
         </td>
        </tr>
        <tr>
         <td>
          <a>
           Macrotrends
          </a>
         </td>
         <td>
          <input class="modal_link" size="50" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;Macrotrends&lt;/a&gt;"/>
         </td>
        </tr>
        <tr>
         <td>
          <a>
           Source
          </a>
         </td>
         <td>
          <input class="modal_link" size="50" type="text" value="&lt;a href='https://www.macrotrends.net/stocks/charts/GME/gamestop/revenue'&gt;Source&lt;/a&gt;"/>
         </td>
        </tr>
       </tbody>
      </table>
      <br/>
      <p style="text-align:center">
       Your data export is now complete.  Please check your download folder.
      </p>
     </div>
     <div class="modal-footer">
      <button class="btn btn-primary" data-dismiss="modal" type="button">
       Close Window
      </button>
     </div>
    </div>
   </div>
  </div>
  <script type="text/javascript">
   $.typeahead({
		input: '.js-typeahead',
		minLength: 1,
		filter: false,  //Disables typahead filter to just show everything in the results from the database
		debug: false,
		highlight: true,
		maxItem: 10,
		dynamic: true,
		delay: 200,
		searchOnFocus: true,
		backdrop: {
			"background-color": "#fff"
		},
		href: "{{url}}",
		emptyTemplate: "no result for {{query}}",
		display: ["name"],
		source: {
			users: {
				ajax: {
					url: '/assets/php/all_pages_query.php',
					data: {
						q: '{{query}}'
					}
				}
			}
		}
	});
  </script>
  <script>
   $(document).ready(function() {
	
	// Selects all of the text in the chart export window when clicked
	$(".modal_link").focus(function() {
		var $this = $(this);
		$this.select();

		// Work around Chrome's little problem
		$this.mouseup(function() {
			// Prevent further mouseup intervention
			$this.unbind("mouseup");
			return false;
		});
	});	
	
	
	$('[data-toggle="tooltip"]').tooltip();
	
    $('.statement_type_select').select2({
	
	theme: "classic",
	minimumResultsForSearch: 20
	
	});

    $('.frequency_select').select2({
	
	theme: "classic",
	minimumResultsForSearch: 20
	
	});
	
	
});

$( "#compareStocks" ).click(function() {
	
	
	window.location.href = '/stocks/stock-comparison?s=revenue&axis=single&comp=GME';
	
	
});

$( "#chartExport" ).click(function() {
	
		window.$('#smallWidthModal1').modal();

		//Turn off scroll bar for image export
		chart.chartScrollbarSettings.enabled = false;
		chart.validateNow(); 
		
		
		chart.export.capture({},function() {
			this.toPNG({},function(data) {
				// Download the image to the browser
				this.download( data, "image/png", "GME-revenue-2020-08-14-macrotrends.png" );
				
				});

		//Turn scroll bar back on again
		chart.chartScrollbarSettings.enabled = true;
		chart.validateNow(); 
				
	});

});

$( ".statement_type_select" ).change(function() {
  
  window.location.href = 'https://web.archive.org/web/20200814131437/https://testing.macrotrends.net/assets/php/income_statement_testing.php?t=TAIT&type=' + this.value + '&freq=Q';

});

$( ".frequency_select" ).change(function() {
  
  window.location.href = '/assets/php/new_chart_page.php?t=TAIT&type=revenue&freq=' + this.value;

});
  </script>
  <!--<div class="modal" id="contribute_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="false">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body" style="margin:20px 40px 20px 40px; text-align:left;font-size:18px;">
	  	  


<div class="row">

<div class="col-xs-6">

<script src="https://donorbox.org/widget.js" paypalExpress="true"></script><iframe src="https://donorbox.org/embed/macrotrends-donations?hide_donation_meter=true" height="685px" width="100%" style="max-width:500px; min-width:310px; max-height:none!important" seamless="seamless" name="donorbox" frameborder="0" scrolling="no" allowpaymentrequest></iframe>

</div>

<div class="col-xs-6">

		<div class="modal_title"><h1><strong>We Need Your Support!</strong></h1></div>

		<p><strong>Macrotrends has been subscription-free since 2010 and we want to keep it that way.</strong></p>

<p>Our goal has always been to serve as an easily accessible, high quality source of investment research for both professionals and amateurs alike.</p>

<p>Any amount that you can contribute will help ensure we can keep the site completely free for many years to come.</p>

<p style="margin-top:20px;">Regards,</p>
<p>The Macrotrends Team</p>

</div>

</div>

</div>

      <div class="modal-footer" style="text-align:center;">
        <button type="button" class="btn btn-success" data-dismiss="modal">Maybe Next Time...</button>
      </div>
    </div>
  </div>
</div>	


<script src="/ads.js" type="text/javascript"></script>

<script>

$(document).ready(function() {
	
	var botPattern = "(googlebot\/|Googlebot-Mobile|Googlebot-Image|Google favicon|Mediapartners-Google|bingbot|slurp|java|wget|curl|Commons-HttpClient|Python-urllib|libwww|httpunit|nutch|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|biglotron|teoma|convera|seekbot|gigablast|exabot|ngbot|ia_archiver|GingerCrawler|webmon |httrack|webcrawler|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|bibnum.bnf|findlink|msrbot|panscient|yacybot|AISearchBot|IOI|ips-agent|tagoobot|MJ12bot|dotbot|woriobot|yanga|buzzbot|mlbot|yandexbot|purebot|Linguee Bot|Voyager|CyberPatrol|voilabot|baiduspider|citeseerxbot|spbot|twengabot|postrank|turnitinbot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|blekkobot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|ahrefsbot|Aboundex|domaincrawler|wbsearchbot|summify|ccbot|edisterbot|seznambot|ec2linkfinder|gslfbot|aihitbot|intelium_bot|facebookexternalhit|yeti|RetrevoPageAnalyzer|lb-spider|sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|seokicks-robot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|blexbot|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|Lipperhey SEO Service|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Livelapbot|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|Twitterbot|OrangeBot|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|SemrushBot|yoozBot|lipperhey|y!j-asr|Domain Re-Animator Bot|AddThis)";

	var re = new RegExp(botPattern, 'i');

	if (re.test(navigator.userAgent)) {
		
	} else {
		
		//Check to see whether they are running an ad blocker
		if(document.getElementById('12mORwMnaEkJXlxz')){
		  var ad_blocker = 'N';
		} else {
		  var ad_blocker = 'Y';
		}

		$.post('https://api.ipstack.com/check?access_key=14fe63e83d5cfefa0b3d4cec498479ba&output=json&fields=ip,continent_name,country_name,region_name,city', 
		function(ip_data){
			
			$.post('https://www.macrotrends.net/assets/php/page_view_tracking.php', {ip: ip_data.ip,continent: ip_data.continent_name, country: ip_data.country_name, state: ip_data.region_name, city: ip_data.city, screen_width: screen.width, ads: ad_blocker, page_type: 'stock'}, 
				function(data){
					/*					
					if(data % 20 === 0) {
						
						//$('#contribute_modal').modal();
						
					}
					*/
				});
		
		});


	}
	

});


$.post('https://api.ipstack.com/check?access_key=14fe63e83d5cfefa0b3d4cec498479ba&output=json&fields=ip,continent_name,country_name,region_name,city', 
function(ip_data){
	
	$(".contribute_user_id").val(ip_data.ip);
	
});

$( ".donate_buttons" ).click(function() {
  
	var payment = $(this).attr("value");

	$.post('https://api.ipstack.com/check?access_key=14fe63e83d5cfefa0b3d4cec498479ba&output=json&fields=ip,continent_name,country_name,region_name,city', 
		function(ip_data){
					
		$.post('https://www.macrotrends.net/assets/php/page_view_tracking.php', {ip: ip_data.ip, paid: payment}); 
	
	});
		 
});

</script>

-->
  <script>
   // Begin editable configuration
  window.ABD = {
    bannerSuppress: false, // Optionally suppress the banner asking the user to disable their adblocker.
    bannerTheme: 'blue', // The bannerTheme of the banner (e.g. 'blue', 'black', 'gray')
    bannerSnoozeTime: 86400, // Set in seconds
    remoteURL: "https://web.archive.org/web/20200814131437/https://abd.investingchannel.com", // Remote ABD URL for JS bundle fetch and event reporting.
    proxyURL: "/proxy.php" // Proxy URL to use for event and bundle fetching if the remote URL is unreachable.
  };
// End editable configuration

function getBundle(e,n,r){var o=new XMLHttpRequest;o.addEventListener("load",n),o.addEventListener("error",r),o.open("GET",e),o.send()}function handleSuccess(){if(200!=this.status)throw new Error("ABD was able to reach the server but received a non 200:OK response.");var e=document.createElement("script");e.innerHTML=this.responseText,document.body.appendChild(e)}function handleErrorInitial(){getBundle(window.ABD.proxyURL+"?remoteURL="+encodeURIComponent(window.ABD.remoteURL+"/js/bundle.js"),handleSuccess,handleErrorProxy)}function handleErrorProxy(){throw new Error("ABD was unable to fetch the JS component from the remote site or local proxy.")}getBundle(window.ABD.remoteURL+"/js/bundle.js",handleSuccess,handleErrorInitial);
  </script>
  <script type="text/javascript">
   var clicky_site_ids = clicky_site_ids || [];
clicky_site_ids.push(100827248);
(function() {
  var s = document.createElement('script');
  s.type = 'text/javascript';
  s.async = true;
  s.src = '//web.archive.org/web/20200814131437/https://static.getclicky.com/js';
  ( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild( s );
})();
  </script>
  <noscript>
   <p>
    <img alt="Clicky" height="1" src="//web.archive.org/web/20200814131437im_/https://in.getclicky.com/100827248ns.gif" width="1"/>
   </p>
  </noscript>
  <!--<script type="text/javascript">
    window._mfq = window._mfq || [];
    (function() {
        var mf = document.createElement("script");
        mf.type = "text/javascript"; mf.async = true;
        mf.src = "//cdn.mouseflow.com/projects/de879dfd-36cc-4d5e-adcd-3e97d4a41e06.js";
        document.getElementsByTagName("head")[0].appendChild(mf);
    })();
</script>-->
  <!-- This site is converting visitors into subscribers and customers with OptinMonster - https://optinmonster.com-->
  <script async="" data-account="6392" data-user="15772" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/api.min.js.download" type="text/javascript">
  </script>
  <!-- / OptinMonster -->
  <!--
     FILE ARCHIVED ON 13:14:37 Aug 14, 2020 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 08:06:04 Feb 24, 2022.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
-->
  <!--
playback timings (ms):
  captures_list: 147.271
  exclusion.robots: 0.161
  exclusion.robots.policy: 0.154
  cdx.remote: 0.078
  esindex: 0.008
  LoadShardBlock: 111.691 (3)
  PetaboxLoader3.datanode: 195.902 (4)
  CDXLines.iter: 18.257 (3)
  load_resource: 122.531
  PetaboxLoader3.resolve: 30.75
-->
  <script>
  </script>
  <script async="" src="./GameStop Revenue 2006-2020 _ GME _ MacroTrends_files/in.php" type="text/javascript">
  </script>
  <grammarly-desktop-integration data-grammarly-shadow-root="true">
  </grammarly-desktop-integration>
 </body>
</html>

Using BeautifulSoup or the read_html function extract the table with GameStop Revenue and store it into a dataframe named gme_revenue. The dataframe should have columns Date and Revenue. Make sure the comma and dollar sign is removed from the Revenue column.

Note: Use the method similar to what you did in question 2.

Click here if you need help locating the table
    
Below is the code to isolate the table, you will now need to loop through the rows and columns like in the previous lab
    
soup.find_all("tbody")[1]
    
If you want to use the read_html function the table is located at index 1


In [69]:
gme_revenue = pd.DataFrame(columns = ["Date","Revenue"])

for table in soup.find_all('table'):
    if table.find('th').getText().startswith("GameStop Quarterly Revenue"):
        for row in table.find("tbody").find_all("tr"):
            col = row.find_all("td")
            if len(col) != 2: continue
            Date = col[0].text
            Revenue = col[1].text.replace("$","").replace(",","")
               
            gme_revenue = gme_revenue.append({"Date":Date, "Revenue":Revenue}, ignore_index=True)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_553/1380771802.py in ?()
      7             if len(col) != 2: continue
      8             Date = col[0].text
      9             Revenue = col[1].text.replace("$","").replace(",","")
     10 
---> 11             gme_revenue = gme_revenue.append({"Date":Date, "Revenue":Revenue}, ignore_index=True)

/opt/conda/lib/python3.11/site-packages/pandas/core/generic.py in ?(self, name)
   6295             and name not in self._accessors
   6296             and self._info_axis._can_hold_identifiers_and_holds_name(name)
   6297         ):
   6298             return self[name]
-> 6299         return object.__getattribute__(self, name)

AttributeError: 'DataFrame' object has no attribute 'append'

Display the last five rows of the gme_revenue dataframe using the tail function. Take a screenshot of the results.

In [70]:
gme_revenue.tail()
Out[70]:
Date Revenue

Question 5: Plot Tesla Stock Graph¶

Use the make_graph function to graph the Tesla Stock Data, also provide a title for the graph. Note the graph will only show data upto June 2021.

Hint

You just need to invoke the make_graph function with the required parameter to print the graphs.The structure to call the `make_graph` function is `make_graph(tesla_data, tesla_revenue, 'Tesla')`.

In [66]:
make_graph(tesla_data, tesla_revenue, "Tesla")

Question 6: Plot GameStop Stock Graph¶

Use the make_graph function to graph the GameStop Stock Data, also provide a title for the graph. The structure to call the make_graph function is make_graph(gme_data, gme_revenue, 'GameStop'). Note the graph will only show data upto June 2021.

Hint

You just need to invoke the make_graph function with the required parameter to print the graphs.The structure to call the `make_graph` function is `make_graph(gme_data, gme_revenue, 'GameStop')`

In [67]:
make_graph(gme_data, gme_revenue, 'GameStop')

About the Authors:

Joseph Santarcangelo has a PhD in Electrical Engineering, his research focused on using machine learning, signal processing, and computer vision to determine how videos impact human cognition. Joseph has been working for IBM since he completed his PhD.

© IBM Corporation 2020. All rights reserved.

toggle
toggle
toggle
toggle
toggle
toggle